<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单</title>
</head>
<body>
<form action="#">
    姓名:<input type="text" name="username" placeholder="请输入用户名" value="李庚希"/><br/>
    昵称:<input type="text" name="nickname" value="黄霄雲" maxlength="6" readonly/><br/>
    昵称:<input type="text" name="nickname" value="孙雪宁" maxlength="6" disabled/><br/>
    密码:<input type="password" name="password" placeholder="请输入密码" /><br/>
    文件:<input type="file" name="file" /><br/>
    性别:
        <input type="radio" name="gender" value="0" checked>女
        <input type="radio" name="gender" value="1" >男
    <br/>
    爱好:
        <input type="checkbox" name="like" value="cg" checked >唱歌
        <input type="checkbox" name="like" value="kds" >看电视
        <input type="checkbox" name="like" value="gj" >逛街
        <input type="checkbox" name="like" value="tg" checked >听歌
    <br/>
    生日:<input type="date" name="birthday" >
    <br>
    幸运色:<input type="color" >
    <br>
    缩放:<input type="range" min="0" max="100" step="5" >
    <br>
    留言板:<textarea style="resize: none;" ></textarea>
    <br>
    <input type="checkbox" id="agree">
    <label for="agree">我不同意</label>
    <br>
    喜欢的城市:
    <select name="city">
        <option value="bj" >北京</option>
        <option value="sh" >上海</option>
        <option value="gz" >广州</option>
        <option value="sx" selected >山西</option>
    </select>
    <br>
    <input type="submit" value="赶紧给我提交">
    <input type="reset" value="点我重置">
    <input type="button" value="普通按钮">
    <button>我是按钮</button>
</form>
</body>
</html>